import { createRouter, createWebHistory } from 'vue-router'

import RouterIndex from "@/views/RouterIndex.vue";
import Parent from "@/components/Parent.vue";
import JdIndex from "@/components/JdIndex.vue";
import app from "@/App.vue";
import routerIndex from "@/views/RouterIndex.vue";
import parent from "@/components/Parent.vue";

const routes=[
    {
    path:'/parent',
    component: Parent,
    },
    {
        path:'/userIndex',
        component: JdIndex
    }
    ]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router
